package com.qianclass.talklive.app.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/12/25 0025.
 */

public class AddGraffitiBean {

    /**
     * message : {"type":"whiteboard","whiteboard":{"colour":"0xFF0000","currentpage":2,"fileid":20171212,"objdata":[{"x":1357,"y":405},{"x":135,"y":408},{"x":136,"y":428}],"objid":12345678,"objtype":"line","rect":{"bottom":123,"left":405,"right":123,"top":1357},"string":"string","subcommand":"addgraffiti"}}
     */

    private MessageBean message;

    public MessageBean getMessage() { return message;}

    public void setMessage(MessageBean message) { this.message = message;}

    public static class MessageBean {
        /**
         * type : whiteboard
         * whiteboard : {"colour":"0xFF0000","currentpage":2,"fileid":20171212,"objdata":[{"x":1357,"y":405},{"x":135,"y":408},{"x":136,"y":428}],"objid":12345678,"objtype":"line","rect":{"bottom":123,"left":405,"right":123,"top":1357},"string":"string","subcommand":"addgraffiti"}
         */

        private String type;
        private WhiteboardBean whiteboard;

        public String getType() { return type;}

        public void setType(String type) { this.type = type;}

        public WhiteboardBean getWhiteboard() { return whiteboard;}

        public void setWhiteboard(WhiteboardBean whiteboard) { this.whiteboard = whiteboard;}

        public static class WhiteboardBean {
            /**
             * colour : 0xFF0000
             * currentpage : 2
             * fileid : 20171212
             * objdata : [{"x":1357,"y":405},{"x":135,"y":408},{"x":136,"y":428}]
             * objid : 12345678
             * objtype : line
             * rect : {"bottom":123,"left":405,"right":123,"top":1357}
             * string : string
             * subcommand : addgraffiti
             */

            private String colour;
            private int currentpage;
            private int fileid;
            private int objid;
            private String objtype;
            private RectBean rect;
            private String string;
            private String subcommand;
            private List<GraffitiInfo.GraffitiPageBean.GraffitiDataBean.CoordinatesBean> objdata;

            public String getColour() { return colour;}

            public void setColour(String colour) { this.colour = colour;}

            public int getCurrentpage() { return currentpage;}

            public void setCurrentpage(int currentpage) { this.currentpage = currentpage;}

            public int getFileid() { return fileid;}

            public void setFileid(int fileid) { this.fileid = fileid;}

            public int getObjid() { return objid;}

            public void setObjid(int objid) { this.objid = objid;}

            public String getObjtype() { return objtype;}

            public void setObjtype(String objtype) { this.objtype = objtype;}

            public RectBean getRect() { return rect;}

            public void setRect(RectBean rect) { this.rect = rect;}

            public String getString() { return string;}

            public void setString(String string) { this.string = string;}

            public String getSubcommand() { return subcommand;}

            public void setSubcommand(String subcommand) { this.subcommand = subcommand;}

            public List<GraffitiInfo.GraffitiPageBean.GraffitiDataBean.CoordinatesBean> getObjdata() { return objdata;}

            public void setObjdata(List<GraffitiInfo.GraffitiPageBean.GraffitiDataBean.CoordinatesBean> objdata) { this.objdata = objdata;}

            public static class RectBean {
                /**
                 * bottom : 123
                 * left : 405
                 * right : 123
                 * top : 1357
                 */

                private float bottom;
                private float left;
                private float right;
                private float top;

                public float getBottom() { return bottom;}

                public void setBottom(float bottom) { this.bottom = bottom;}

                public float getLeft() { return left;}

                public void setLeft(float left) { this.left = left;}

                public float getRight() { return right;}

                public void setRight(float right) { this.right = right;}

                public float getTop() { return top;}

                public void setTop(float top) { this.top = top;}
            }
        }
    }
}
